package edu.sjb.map.prizes;

import edu.sjb.Drawable;
import edu.sjb.constants.ImageConstants;
import edu.sjb.constants.ScoreConstants;
import edu.sjb.threads.SoundThread;

public class Coin extends PowerUp {
	public Coin() {
		super();
	}

	@Override
	public void grab() {
		SoundThread.coin();
		game().changeScore(ScoreConstants.COIN);
	}

	@Override
	public void run() {
	}

	protected Object clone() {
		Coin coin = new Coin();
		Drawable img = new Drawable(ImageConstants.COIN, true);
		coin.setImage(img);
		return coin;
	}

}
